-- GENERATED SPELL FOR [Fireguard Destroyer] --


function spell0_8911(pUnit, Event) --@Fireball Volley,n/a--
pUnit:FullCastSpellOnTarget(15285,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_8911', 531, 1)
end

function Sorts_8911(pUnit, Event)
local choix_sorts_8911 = math.random(0, 0)
if choix_sorts_8911 == 0 then
pUnit:RegisterEvent('spell0_8911', 1, 1)
end
end

function mob8911_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8911', math.random(1500, 3000), 1)
end

function mob8911_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8911_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8911_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8911, 1, 'mob8911_Action')
RegisterUnitEvent(8911, 2, 'mob8911_Leave')
RegisterUnitEvent(8911, 3, 'mob8911_Kill')
RegisterUnitEvent(8911, 4, 'mob8911_Die')
